<?php
/**
 * Created by PhpStorm.
 * User: caoyong
 * Date: 15/3/19
 * Time: 20:15
 */

namespace Caoyong\PHPCore\Interfaces;

/**
 * Class JsonableInterface
 * @package Caoyong\PHPCore\Interfaces
 */
interface JsonableInterface
{
    /**
     * @param int $options
     * @param int $depth
     * @return mixed
     */
    public function toJson($options = 0, $depth = 512);
}